﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Orchard.ContentManagement;
using SchoolPointe.RelatedContent.Enums;
using Orchard.ContentManagement.Records;
using Orchard.Core.Common.Utilities;
using System.Linq;

namespace SchoolPointe.RelatedContent.Models
{
    public class RelatedContentPart : ContentPart<RelatedContentPartRecord>
    {
        private readonly LazyField<IList<RelatedContentItemPartRecord>> _relatedItems = new LazyField<IList<RelatedContentItemPartRecord>>();

        public LazyField<IList<RelatedContentItemPartRecord>> RelatedItems { get { return _relatedItems; } }
    }

    public class RelatedContentPartRecord : ContentPartRecord
    {
        
    }
}